package org.cicd.modle

import org.cicd.enums.BuildType

/**
 * 部署应用信息
 */
class AppInfoVars {

    String appId;

    String appName;

    String appVersion;

    BuildType buildType;

    boolean needPackage;

    String branchName;

    String[] deployEnvNames;

    String BUILD_USER;

    String repositoryUrl

    String packageRepositoryUrl

    @Override
    public String toString() {
        return "AppInfoVars{" +
                "appId='" + appId + '\'' +
                ", appName='" + appName + '\'' +
                ", appVersion='" + appVersion + '\'' +
                ", buildType=" + buildType +
                ", needPackage=" + needPackage +
                ", branchName='" + branchName + '\'' +
                ", deployEnvNames=" + Arrays.toString(deployEnvNames) +
                ", BUILD_USER='" + BUILD_USER + '\'' +
                ", repositoryUrl='" + repositoryUrl + '\'' +
                ", packageRepositoryUrl='" + packageRepositoryUrl + '\'' +
                '}';
    }
}
